package routes

import (
	"example.com/gojwt/controllers"
	"github.com/gin-gonic/gin"
)

func Setup(router *gin.Engine) {
	router.POST("/api/register", controllers.Register)
	router.POST("/api/login", controllers.Login)
	router.GET("/api/logout", controllers.Logout)
	router.GET("/api/user", controllers.User)
}
